MCSetClip
TheMCSetClip
function allows you to set a movie controller's clipping region. This clipping region is equivalent to the movie display clipping region supported by the Movie Toolbox.
pascal ComponentResult MCSetClip (MovieController mc, RgnHandle theClip, RgnHandle movieClip);
mc
- Specifies the movie controller for the operation. You obtain this
identifier from the Component Manager'sOpenComponent
orOpenDefaultComponent
function, or from theNewMovieController
function (described on page 2-28).theClip
- Contains a handle to a region that defines the controller's clipping region. This clipping region affects the entire movie controller and its movie, including the controller's badge and associated controls. Set this parameter to
nil
to clear the controller's clipping region.movieClip
- Contains a handle to a region that defines the clipping region of the controller's movie. This clipping region affects only the movie and the badge, not the movie controller. Set this parameter to
nil
to clear the movie clipping region.DESCRIPTION
Your application must dispose of the regions you supply to theMCSetClip
function.SPECIAL CONSIDERATIONS
Do not use the Movie Toolbox'sSetMovieDisplayClipRgn
function to modify movies that are associated with movie controllers.RESULT CODES
Memory Manager errorsSEE ALSO
You can retrieve information about a controller's clipping information by calling theMCGetClip
function, which is described in the next section.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help